package com.jiashihui.schema_lgorithm.schema.visitor;

/**
 * @author jiashihui
 * @describe: 具体的主题
 * @date 2019/03/15
 */
public class SubjectImpl implements Subject {

    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }

    @Override
    public String getSubject() {
        return "love";
    }
}
